using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using System.Web.Mvc;

namespace Redboil.Bfp.Web {
    public partial class SampleView : ViewPage {
        protected void Page_Load(object sender, EventArgs e) {
            //HttpContext.Current.RewritePath(Request.ApplicationPath);
            //IHttpHandler httpHandler = new MvcHttpHandler();
            //httpHandler.ProcessRequest(HttpContext.Current);

            
            if (Request.IsAuthenticated) {
                //this.Title = System.Web.Mvc.Html.Encode(Page.User.Identity.Name);
                this.Title = "Hello, " + Context.User.Identity.Name;
            }

        }
    }
}